﻿@{
    Layout = null;

    if (!(ViewBag.Project.Language == CodeLanguage.Cs))
    {
        WriteTo(new StringWriter(), RenderSection("cs", false));
    }
    if (!(ViewBag.Project.Language == CodeLanguage.Vb))
    {
        WriteTo(new StringWriter(), RenderSection("vb", false));
    }
}
@if (ViewBag.Project.Language == CodeLanguage.Cs)
{
@RenderSection("cs")
}
else if (ViewBag.Project.Language == CodeLanguage.Vb)
{
@RenderSection("vb")
}